   angular.module("fiboapp", [])
   		.config(function($interpolateProvider) {
		  $interpolateProvider.startSymbol('[[');
		  $interpolateProvider.endSymbol(']]');
			})
        .controller("FiboStatus", function($scope, $http) {
            $scope.myData = {};
            
            $scope.myData.doClick = function(item, event) {
				event.preventDefault();
			
				
                var responsePromise = $http.get("fiboajax/",{params: { type: item }});

                responsePromise.success(function(data, status, headers, config) {
                    $scope.myData.fromServer = data;
              
                });
                responsePromise.error(function(data, status, headers, config) {
                    alert("AJAX failed!");
                });
                
            }
        } );